package com.QSMoney.entity.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 用户请求参数类（比如登录、注册接口的入参）
 */

@Data
public class MoneyUserReq {
    @Schema(description = "用户名")
    @NotNull(message = "用户名不能为空")
    private String userName;
//    @Schema(description = "昵称")
//    @NotNull(message = "昵称不能为空")
//    private String nickName;
    @Schema(description = "密码")
    @NotNull(message = "密码不能为空")
    private String passWord;
//    @Schema(description = "手机号")
//    @NotNull(message = "手机号不能为空")
//    private String phoneNumber;
//    @Schema(description = "邮箱")
//    @NotNull(message = "邮箱不能为空")
//    private String email;
//    // TODO 后续可改为用户未上传头像时，默认头像
//    @Schema(description = "头像")
//    private String avatar;
}
